package com.tkmybatis.hfy.base.entity;


import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import lombok.Data;

@Entity
@Data
public class BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;
	
	@Id
	@Column(name="id")
	private String id;
	
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="upd_time")
	private Date updTime;
	
	@Column(name="upd_user_id")
	private String updUserId;
	
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="ins_time")
	private Date insTime;
	
	@Column(name="ins_user_id")
	private String insUserId;
	
	@Column(name="del_flg")
	private String delFlg;
}
